package com.csinc.generate.core.make;

import com.csinc.generate.core.base.model.GenBeanEntity;
import com.csinc.generate.core.base.model.GenerationEntity;
import com.csinc.generate.core.base.model.TemplateModel;

import java.util.List;

/**
 * 模板解析接口
 * Create By 郭金宝 on 2018/7/23.<br>
 */
public interface IMake {

    static final String GEN_PARAMS = "g";
    static final String TABLE_DETAIL = "t";

    /**
     * 解析模板 生成文件
     */
    public List<String> makeByTemplateModel(GenerationEntity generationEntity, GenBeanEntity tableEntity, List<TemplateModel> fileList);

    /**
     * 解析模板 生成文件
     */
    public List<String> make(GenerationEntity generationEntity, GenBeanEntity tableEntity, List<String> fileList);


}
